/**
 * Created by Administrator on 2017/11/1.
 */
var mongoose = require('mongoose');
var mongoosePaginate = require('mongoose-paginate');

var schema = new mongoose.Schema({
    name:String,
    content:String,
    price:Number,
    cateId:String,
    date:String,
});
schema.plugin(mongoosePaginate);
var Product = mongoose.model('Product', schema,'product');
module.exports = Product;